package com.fmdj.bff.driver.service;
import com.fmdj.bff.driver.controller.form.*;

import javax.validation.Valid;
import java.util.HashMap;

public interface DriverService {

    Long registerNewDriver(@Valid RegisterDriverForm form);

    int updateDriverAuth(UpdateDriverAuthForm form);

    HashMap login(LoginForm form);

    HashMap selectDriverInfo(SelectDriverInfoForm form);

    HashMap selectWorkbenchData(Long driverId);

    HashMap selectDriverInfoById(SelectDriverAuthForm form);


}
